<?php

use yii\db\Migration;

class m180912_122919_card_add_active_time extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%card}}', 'active_time', $this->integer()->comment('激活时间')->after('create_time'));
    }

    public function safeDown()
    {
        $this->dropColumn('{{%card}}', 'active_time');
    }
}
